<!-- toolbar -->
<?php echo Nuo::getHelper('core@toolbar')->render('admin.settings.mailtemplate');?>
<h2>mail template</h2>
<div class="admin-main-table">
	<table>
		<thead>
			<tr>
				<td>#</td>
				<td>id</td>
				<td><?php echo $translator -> translate('name');?></td>
				<td><?php echo $translator -> translate('use cron');?></td>
				<td><?php echo $translator -> translate('module');?></td>
				<td><?php echo $translator -> translate('date');?></td>
				<td><?php echo $translator -> translate('action');?></td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($paginator as $item):
			?>
			<tr>
				<td>#</td>
				<td><?php echo $item -> getId();?></td>
				<td><?php echo $item -> title;?></td>
				<td><?php echo $item -> use_cron;?></td>
				<td><?php echo $item -> module;?></td>
				<td><?php echo $item -> modification_date;?></td>
				<td> [<a href="<?php echo Nuo::url('admin/settings/mailtemplate/edit',array('template_id'=>$item->getId()));?>">edit</a>] </td>
			</tr>
			<?php endforeach;?>
		</tbody>
	</table>
</div>